<?php

class CartTempDetailRecord extends TActiveRecord
{
	const TABLE='tbl_cart_temp_detail';

	public $HashID;
	public $SessionID="";
	public $UserID=0;
	public $ProductID=0;
	public $ProductPrice=0;
	public $Quantity=0;
	public $Subtotal=0;
	public $CreateDate=0;
	
	public static $COLUMN_MAPPING=array
	(
		'hash_id'=>'HashID',
		'session_id'=>'SessionID',
		'user_id'=>'UserID',
		'product_id'=>'ProductID',
		'product_price'=>'ProductPrice',
		'quantity'=>'Quantity',
		'subtotal'=>'Subtotal',
		'c_date'=>'CreateDate'
	);
	
	public static function finder($className=__CLASS__)
	{
		return parent::finder($className);
	}
}
?>